<div class="el-input" ng-class="[ disabled ? 'is-disabled' : '', prefixIcon ? 'el-input--prefix' : '', size ? 'el-input--' + size : '' ]">
  <!-- 前缀图标 -->
  <span class="el-input__prefix" ng-if="prefixIcon">
    <span class="el-input__suffix-inner">
      <i class="{{prefixIcon}} el-input__icon"></i>
    </span>
  </span>

  <!-- 输入主体 -->
  <input class="el-input__inner" type="text" ng-model="ngModel" ng-disabled="disabled === 'true'" ng-readonly="readonly"
    placeholder="{{placeholder}}" ng-blur="onBlur()">
  <!-- 后缀图标 -->
  <span class="el-input__suffix" ng-if="suffixIcon || clearable">
    <span class="el-input__suffix-inner">
      <i ng-if="suffixIcon && !ngModel" class="{{suffixIcon}} el-input__icon"></i>
      <i ng-if="clearable && ngModel" class="el-input__icon el-icon-circle-close el-input__clear" ng-click="clear()"></i>
    </span>
  </span>
</div>